Skip to content

[SOL][BPF] Disable debug info when solana feature flag is set#12

Merged
dmakarov merged 1 commit intoanza-xyz:solana-rustc/11.0-2021-01-05from
dmakarov:solana-rustc/11.0-2021-01-05
Apr 22, 2021
Merged

[SOL][BPF] Disable debug info when solana feature flag is set#12
dmakarov merged 1 commit intoanza-xyz:solana-rustc/11.0-2021-01-05from
dmakarov:solana-rustc/11.0-2021-01-05

Conversation

@dmakarov
Copy link
Copy Markdown

Solana extends BPF so that structs type information is not fully
supported in BTF. This leads to ICE crashes and some unsupported
relocations being emitted in binary files that linker errors on.
For, now the debug information is simply disabled when compiling
for Solana to avoid the errors in Debug builds.

Solana extends BPF so that structs type information is not fully
supported in BTF.  This leads to ICE crashes and some unsupported
relocations being emitted in binary files that linker errors on.
For, now the debug information is simply disabled when compiling
for Solana to avoid the errors in Debug builds.
@dmakarov dmakarov merged commit ca93588 into anza-xyz:solana-rustc/11.0-2021-01-05 Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant